
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
duplex-combination
Advanced tools
Merge a readable and writable stream together into a duplex stream
var dp = new DuplexCombination(reader, writer, options);
dp.write("data");
dp.on('readable', function() {
dp.read(n);
})
The read and write streams are exposed with the properties dp.reader
and dp.writer
Error events include the stream that triggered the error, so you can:
dp.on('error',function(err,stream) {
if (stream === dp.reader) {
// error while reading
}
else {
// error while writing
}
});
Stolen shamelessly from Isaac Schuleter's duplex-passthrough
module.
FAQs
Combine a readable and writable stream into a duplex stream
The npm package duplex-combination receives a total of 15 weekly downloads. As such, duplex-combination popularity was classified as not popular.
We found that duplex-combination demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.